package com.bsoft.gol.hcs.specialist.entity;

import javax.persistence.*;

/**
 * @Author: lanyu
 * @Description: 随访路径详情表单关联表
 * @Date: create in 2022/5/16 16:36
 */
@Entity
@Table(name = "follow_up_route_detail_form")
public class FollowUpRouteDetailForm {

    private Long followRouteExtendId;
    private String organizationId;
    private Long routeId;
    private Long routeDetailId;
    private Byte itemType;//项目类型 1 表单 2 推荐科室 3 健康宣教 4 健康监测
    private String formRecordId;
    private String formName;
    private Long educationId;
    private String educationName;
    //健康监测编码
    private String monitorId;
    //健康监测名称
    private String monitorName;
    private Byte deptType;
    private String parentDeptCode;
    private String parentDeptName;
    private String deptCode;
    private String deptName;
    private String status;

    @Id
    @Column(name = "follow_route_extend_id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Long getFollowRouteExtendId() {
        return followRouteExtendId;
    }

    public void setFollowRouteExtendId(Long followRouteExtendId) {
        this.followRouteExtendId = followRouteExtendId;
    }
    @Basic
    @Column(name = "organization_id")
    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }
    @Basic
    @Column(name = "route_id")
    public Long getRouteId() {
        return routeId;
    }

    public void setRouteId(Long routeId) {
        this.routeId = routeId;
    }

    @Basic
    @Column(name = "route_detail_id")
    public Long getRouteDetailId() {
        return routeDetailId;
    }

    public void setRouteDetailId(Long routeDetailId) {
        this.routeDetailId = routeDetailId;
    }
    @Basic
    @Column(name = "item_type")
    public Byte getItemType() {
        return itemType;
    }

    public void setItemType(Byte itemType) {
        this.itemType = itemType;
    }

    @Basic
    @Column(name = "form_record_id")
    public String getFormRecordId() {
        return formRecordId;
    }

    public void setFormRecordId(String formRecordId) {
        this.formRecordId = formRecordId;
    }
    @Basic
    @Column(name = "form_name")
    public String getFormName() {
        return formName;
    }

    public void setFormName(String formName) {
        this.formName = formName;
    }
    @Basic
    @Column(name = "education_id")
    public Long getEducationId() {
        return educationId;
    }

    public void setEducationId(Long educationId) {
        this.educationId = educationId;
    }
    @Basic
    @Column(name = "education_name")
    public String getEducationName() {
        return educationName;
    }

    public void setEducationName(String educationName) {
        this.educationName = educationName;
    }
    @Basic
    @Column(name = "monitor_id")
    public String getMonitorId() {
        return monitorId;
    }

    public void setMonitorId(String monitorId) {
        this.monitorId = monitorId;
    }
    @Basic
    @Column(name = "monitor_name")
    public String getMonitorName() {
        return monitorName;
    }

    public void setMonitorName(String monitorName) {
        this.monitorName = monitorName;
    }

    @Basic
    @Column(name = "dept_type")
    public Byte getDeptType() {
        return deptType;
    }

    public void setDeptType(Byte deptType) {
        this.deptType = deptType;
    }
    @Basic
    @Column(name = "parent_dept_code")
    public String getParentDeptCode() {
        return parentDeptCode;
    }

    public void setParentDeptCode(String parentDeptCode) {
        this.parentDeptCode = parentDeptCode;
    }
    @Basic
    @Column(name = "parent_dept_name")
    public String getParentDeptName() {
        return parentDeptName;
    }

    public void setParentDeptName(String parentDeptName) {
        this.parentDeptName = parentDeptName;
    }
    @Basic
    @Column(name = "dept_code")
    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }
    @Basic
    @Column(name = "dept_name")
    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    @Basic
    @Column(name = "status")
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "FollowUpRouteDetailFrom{" +
                "followRouteExtendId=" + followRouteExtendId +
                ", routeDetailId=" + routeDetailId +
                ", formRecordId=" + formRecordId +
                ", status='" + status + '\'' +
                '}';
    }
}
